Skip to content

Add params to DebugTest.ps1. #485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 6, 2017

Conversation

rkeithhill
Copy link
Contributor

This will align with part 2 of my debugging blog post for Scripting Guys. This allows testing of launch config that passes arguments and makes it easier to demo "attach to" but setting the delay a bit longer (say 2 secs). Also, updated launch.json to start with the default configuration before add tle Launch Script Configuration.

This will align with part 2 of my debugging blog post for Scripting Guys.  This allows testing of launch  config that passes arguments and makes it easier to demo "attach to" but setting the delay a bit longer (say 2 secs).  Also, updated  launch.json to start with the default configuration before add tle Launch Script Configuration.
@@ -23,4 +25,6 @@ function Do-Work($workCount) {
Write-Host "Done!"
}

Do-Work 50
$process = Get-Process -Id $pid
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where's the $pid defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, sorry about that. Left a little something in there I didn't intend. :-(

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No problem ;)

@daviwil daviwil merged commit f27a311 into develop Feb 6, 2017
@daviwil daviwil deleted the rkeithhill/update-example-for-attach-testing branch February 6, 2017 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants